package com.ali.stock.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 用户-股票关系表
 * @TableName sys_user_stock
 */
@TableName(value ="sys_user_stock")
@Data
public class SysUserStock implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;

    /**
     * 
     */
    private Integer stockId;

    /**
     * 用户拥有股票数量
     */
    private Integer userStockCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}